package cn.gov.pbc.audit.vo;

import java.math.BigDecimal;

import com.alibaba.excel.annotation.ExcelProperty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString
public class Target1Vo {
	
	@ExcelProperty(value = "序号", index = 0)
	private Integer index;
	
	@ExcelProperty(value = "金融机构名称", index = 1)
	private String name;
	
	@ExcelProperty(value = "期末小微企业贷款余额", index = 2)
	private String balance;
	
	public void assmbleFrom(Integer index, String name, BigDecimal balance) {
		this.index = index;
		this.name = name;
		this.balance = balance.toString();
	}
}
